package com.se7en.core.sqlbuilder.datamodifier.modifier;

import java.math.BigInteger;

import com.se7en.core.sqlbuilder.datamodifier.DataModifier;

/**
 * @author badqiu
 */
public class BigIntegerDataModifier implements DataModifier {
    public Object modify(Object value, String modifierArgument) {
        if (value == null)
            return null;
        if (value instanceof BigInteger)
            return value;
        return new BigInteger(value.toString());
    }
}
